package com.example.four; // 与项目包名一致
/**
 * 历史占卜记录数据模型
 * 存储单次占卜的完整信息
 */
public class HistoryRecord {
    private long id; // 记录ID（数据库自增）
    private long divinationTime; // 占卜时间（毫秒值）
    private String question; // 问事内容
    private String hexagramName; // 卦名
    private String divinationSummary; // 解卦摘要

    // Getter和Setter方法
    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public long getDivinationTime() {
        return divinationTime;
    }

    public void setDivinationTime(long divinationTime) {
        this.divinationTime = divinationTime;
    }

    public String getQuestion() {
        return question;
    }

    public void setQuestion(String question) {
        this.question = question;
    }

    public String getHexagramName() {
        return hexagramName;
    }

    public void setHexagramName(String hexagramName) {
        this.hexagramName = hexagramName;
    }

    public String getDivinationSummary() {
        return divinationSummary;
    }

    public void setDivinationSummary(String divinationSummary) {
        this.divinationSummary = divinationSummary;
    }
}